GtkQuery: Make API follow GTK+ conversions
authorMatthias Clasen <mclasen@redhat.com>
Wed, 22 Jul 2015 00:39:29 +0000 (20:39 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Wed, 22 Jul 2015 00:39:29 +0000 (20:39 -0400)
commit38a5db8f83aa9eaf7340c049f91bcf6ed670382b
tree6633cb8e9bf93c2ea8486c84dbdad4724f64b057
parent94187127821a31b3367ce7b60d4bd5f8e874f6cd
GtkQuery: Make API follow GTK+ conversions

We generally have const getters for strings, and the two users
of this API were promptly leaking the (unexpected) copy they
got from gtk_query_get_location and gtk_query_get_text.
gtk/gtkfilechooserwidget.c
gtk/gtkquery.c
gtk/gtkquery.h
gtk/gtksearchenginetracker.c